Skip to content

Fix playground edition detection #2557

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 26, 2025

Conversation

ehuss
Copy link
Contributor

@ehuss ehuss commented Feb 26, 2025

This fixes the code that forwards the edition to the playground so that it sends whatever edition value to the server. The current code was looking for specific values, which didn't work for 2024, and isn't as maintainable as new editions are produced.

Fixes #2556

@rustbot rustbot added the S-waiting-on-review Status: waiting on a review label Feb 26, 2025
@ehuss ehuss added this pull request to the merge queue Feb 26, 2025
Merged via the queue into rust-lang:master with commit 19146c4 Feb 26, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: waiting on a review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rust 2024 edition is ignored for code examples
2 participants